package org.summer.lawyer.domain.vo.feedback;

import io.github.linpeilie.annotations.AutoMapper;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.summer.common.mybatis.core.domain.BaseEntitySearch;
import org.summer.lawyer.domain.Feedback;

import java.io.Serial;
import java.util.Date;

/**
 * 意见反馈视图对象 feedback
 *
 * @author summer
 * @date 2024-06-17
 */
@Schema(title ="意见反馈视图对象 feedback", description = "意见反馈视图对象 feedback")
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = Feedback.class)
public class FeedbackVo extends BaseEntitySearch {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @Schema(title = "id", type = "Long", description = "主键ID")
    private Long id;

    /**
     * 微信用户ID
     */
    @Schema(title = "wxUserId", type = "Long", description = "微信用户ID")
    private Long wxUserId;

    /**
     * 微信用户昵称
     */
    @Schema(title = "nickname", type = "String", description = "微信用户昵称")
    private String nickname;

    /**
     * 联系电话
     */
    @Schema(title = "contactPhone", type = "String", description = "联系电话")
    private String contactPhone;

    /**
     * 反馈内容
     */
    @Schema(title = "feedbackDetail", type = "String", description = "反馈内容")
    private String feedbackDetail;

    /**
     * 反馈时间
     */
    @Schema(title = "feedbackTime", type = "Date", description = "反馈时间")
    private Date feedbackTime;

    /**
     * 类型(1留言，2意见反馈）
     */
    @Schema(title = "feedbackType", type = "String", description = "类型(1留言，2意见反馈）")
    private String feedbackType;

    /**
     * 业务ID（服务ID，商品ID）
     */
    @Schema(title = "bizId", type = "Long", description = "咨询对应业务的ID")
    private Long bizId;

    /**
     * 业务名称（服务名称，商品名称）
     */
    @Schema(title = "bizName", type = "String", description = "咨询对应业务的名称")
    private String bizName;
}
